package cqrtplm.entity;

import lombok.Data;

import java.util.Date;

/**
 * @description: 接口日志实体类
 * @author: zhengxiong.jiang
 * @createDate: 2025-11-12
 * @version: 1.0
 */
@Data
public class InterfaceLogRecordDO {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private String id;

    /**
     * 请求地址
     */
    private String interfaceUrl;

    /**
     * 请求名称
     */
    private String interfaceName;

    /**
     * 发起方向
     */
    private String direction;

    /**
     * 请求参数
     */
    private String requestParam;

    /**
     * 返回参数
     */
    private String responseParam;

    /**
     * 发起人
     */
    private String initiator;

    /**
     * 发起时间
     */
    private Date initiateTime;

    public InterfaceLogRecordDO(){

    }



    public InterfaceLogRecordDO(String id,String interfaceUrl, String interfaceName, String direction, String requestParam,
                                String responseParam, String initiator, Date initiateTime){
        this.id = id;
        this.interfaceUrl = interfaceUrl;
        this.interfaceName = interfaceName;
        this.direction = direction;
        this.requestParam = requestParam;
        this.responseParam = responseParam;
        this.initiator = initiator;
        this.initiateTime = initiateTime;
    }

}
